import React from 'react'
// import HomeHeader from '../../components/HomeHeader/index'
import {
    Link,
    IndexLink,
    Switch
} from 'react-router-dom';


class SideNav extends React.Component {

    constructor(props) {
        super(props)
    }
    render() {
        return (
            <div className="navbar-default sidebar" role="navigation">

                <div className="sidebar-nav navbar-collapse">
                    <ul className="nav" id="side-menu">
                        <li>
                            <Link to="/home"  activeClassName="active">
                                <i className="fa fa-dashboard fa-fw"></i>
                                <span>Home</span>
                            </Link>
                        </li>
                        <li>
                            <Link to="/score">
                                <i className="fa fa-bar-chart-o fa-fw"></i>
                                <span>成绩分析</span>
                            </Link>
                            <ul className="nav nav-second-level collapse in">
                                <li>
                                    <Link to="/score/self" activeClassName="active">个人分析</Link>
                                </li>
                                <li>
                                    <Link  to="/score/grade" activeClassName="active">年纪分析</Link>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <Link to="/">
                                <i className="fa fa-wrench fa-fw"></i>
                                <span>笔记</span>
                            </Link>
                            <ul className="nav nav-second-level collapse in">
                                <li>
                                    <Link  to="/" activeClassName="active">个人笔记</Link>
                                </li>
                                <li>
                                    <Link  to="/" activeClassName="active">学霸笔记</Link>
                                </li>
                            </ul>
                        </li>

                    </ul>
                </div>
            </div>
        )
    }

}


export default SideNav
